#pragma once

#include <iostream>
using namespace std;


class Date
{
	//friend ostream& operator<<(const Date& d, ostream& out);

public:
	Date(int year = 1900, int month = 1, int day = 1)
	{
		_year = year;
		_month = month;
		_day = day;
	}

	ostream& operator<<(ostream& out) const;

//private:
	int _year;
	int _month;
	int _day;
};

//ostream& operator<<(const Date& d, ostream& out);